﻿<%@ Page Language="C#" MasterPageFile="~/Pages/Main.master" AutoEventWireup="true" CodeFile="OrgUpdate.aspx.cs" Inherits="OrgUpdate" Title="组织更新" %>

<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="ajaxToolkit" %>
<asp:Content ID="Content1" ContentPlaceHolderID="MainContentPlaceHolder" runat="Server">
<!--<asp:ScriptManager ID="ScriptManager1" runat="server" />-->
	<div id="tab-side">
				<div class="side-info">
					<h3>友情提示</h3>
					<div id="content" style="position:relative;">
					<div>
					    <asp:Image ID="Image1" runat="server" Width="60px" Height="60px" ImageUrl="../images/icon_-02.png"  style="BORDER-RIGHT: #e0f0fd 3px solid; BORDER-TOP: #e0f0fd 3px solid; BORDER-LEFT:  #e0f0fd 3px solid; BORDER-BOTTOM:  #e0f0fd 3px solid" />
					</div>
					<div>
						<div >
                            &nbsp;<div style="margin-left:1.5em;">
								图片尺寸:<br/>
								85x85像素
							</div>
						</div>
						<div style="position:absolute;left:100px;top:2em;">
							您上传的图片会自动生成系统合适大小,请注意大小,尺寸,头像是否清晰!
						</div>
					</div>
					</div>
				</div>
			</div>

			<div id="tab-content">
				<div id="info-item">
					<div style="line-height:1.5em;padding-bottom:2em;">
                        修改组织资料</div>
					<span class="title">上传图片<img src="../images/line_gray.png" height="9" width="400"/><span> </span><img src="../images/icon_+02.png"/>
					</span>
					<div class="content">						
							<ol style="list-style:none;">
								<li>
									<label>图片地址:</label>
									
                                   <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ErrorMessage="必须填写"
            ControlToValidate="FileUpload_OrgImg"></asp:RequiredFieldValidator>
        <br />
        <asp:FileUpload ID="FileUpload_OrgImg" runat="server" Width="312px" />
        <asp:RegularExpressionValidator ID="RegularExpressionValidator1" runat="server" Text="请选择图片文件"
            ValidationExpression="^.*\.(jpg|JPG|bmp|BMP|gif|GIF|jpeg|JPEG)$" ControlToValidate="FileUpload_OrgImg"></asp:RegularExpressionValidator><br />
                            	</li>
								<li style="line-height:2em;">
									(提示:支持的文件格式为JPG,GIF,PNG,文件小于1M,宽高小于2880像素)
								</li>
                            </ol>
                            </div>
                    <span class="title">编辑资料<img src="../images/line_gray.png" height="9" width="400"/><span> </span><img src="../images/icon_+02.png"/>
					</span>
					<div class="content">
					
						<ol>
							<li>
							<label class="left" for="username"><span style="color:#f00">* </span>组织名字</label>&nbsp;                                
        <asp:TextBox ID="TextBox_OrgName" runat="server" Width="304px"></asp:TextBox><br />
                                <asp:RequiredFieldValidator ID="RequiredFieldValidator_OrgName" runat="server" ControlToValidate="TextBox_OrgName"
            ErrorMessage="RequiredFieldValidator">必须填写</asp:RequiredFieldValidator></li>

							<li>
							<label class="left" for="gender">
                                类型:</label>
                                <asp:DropDownList ID="DropDownList_OrgType" runat="server" Width="310px">
            <asp:ListItem Value="12">学校组织</asp:ListItem>
            <asp:ListItem Value="11">公司组织</asp:ListItem>
        </asp:DropDownList>
							</li>	
							<li>
							<label class="left" for="gender">
                                行业:</label>
                                <asp:DropDownList ID="DropDownList_OrgCategory" runat="server" Width="310px">
        </asp:DropDownList>
							</li>								
							
				            <li>
							<label class="left" for="graduate_school"><span style="color:#f00">* </span>组织描述</label>
							<asp:TextBox ID="TextBox_OrgDesc" runat="server" Height="63px" TextMode="MultiLine" Width="307px"/>							
							</li>
							
							<li>		
							<label class="left" for="graduate_school"></label>						
								<asp:LinkButton ID="Button_OrgCreate" runat="server" Text="提交" Width="62px" OnClick="Button_OrgCreate_Click" CssClass="submitbutton5"/>								
							</li>

						</ol>
						<div>
						    <span style="color:#f00">* </span>为必填
                            <br />
                            <asp:Label ID="Label_Result" runat="server"></asp:Label></div>
						
					</div>
                </div>
                </div>
       
</asp:Content>

